Skip to content

Clean up error handling in Newport XPS service#440

Merged
RemiSoummer merged 2 commits into
developfrom
clean_up_error_hanling_XPS
Jun 1, 2026
Merged

Clean up error handling in Newport XPS service#440
RemiSoummer merged 2 commits into
developfrom
clean_up_error_hanling_XPS

Conversation

@ivalaginja

@ivalaginja ivalaginja commented May 7, 2026

Copy link
Copy Markdown
Collaborator

The error handling was a bit ambiguous so I separated out an error if there is no correct env variable set, or if it can simply not import the required module.

Tested on hardware and I was able to trigger both error messages independently.

@ivalaginja ivalaginja self-assigned this May 7, 2026
@ivalaginja ivalaginja marked this pull request as ready for review May 7, 2026 10:40
@ivalaginja ivalaginja added enhancement New feature or request and removed enhancement New feature or request labels May 7, 2026
@ivalaginja ivalaginja requested a review from ehpor May 24, 2026 15:57
@ivalaginja

Copy link
Copy Markdown
Collaborator Author

Just a ping to reviewers that this PR is ready for review.

@RemiSoummer RemiSoummer force-pushed the clean_up_error_hanling_XPS branch from b1aa24d to 7221f74 Compare June 1, 2026 14:52

@RemiSoummer RemiSoummer left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great

@RemiSoummer RemiSoummer enabled auto-merge June 1, 2026 14:56
@RemiSoummer RemiSoummer merged commit f816545 into develop Jun 1, 2026
6 checks passed
@RemiSoummer RemiSoummer deleted the clean_up_error_hanling_XPS branch June 1, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants